Learning Objectives

After completing this lesson, you’ll be able to:

Note

Learning content in the FME Academy presents a user story that addresses their data integration challenges with FME. You should follow along with their actions using your FME installation (2026.1 or later) or request an on-demand virtual machine. Some lessons will require you to follow their steps or take additional steps to answer a quiz question.

The Resources section will provide links to workspaces and data when necessary.

Instructions

In this lesson, you will:

Resources

Automate Repetitive Data Integration Tasks with FME Flow

Frank

Frank is a GIS Administrator working for a local government. He is also the FME Flow Administrator for his organization. Because his town doesn't have an open data portal, he is constantly bombarded with emails from other departments and the public asking for GIS data.

Frank uses FME Flow to let users access the data directly without his help, creating self-serve data delivery. He has to read through the emails, determine which layer people are requesting, and manually send it to them in the format they requested. People most often request layers from the community resources geodatabase, which contains data on street food vendors, parks, community centers, and more. There are only 6 approved output formats, so Frank wants to limit requests to those options. Frank has to design his workspace so it works well for end-users. These end-users might be running the workspace as logged-in users of FME Flow or using a public-facing FME Flow App. The choices he provides need to make sense for these situations.

In this exercise, you will:

1) Open Starting Workspace

Starting workspace. It’s a simple workspace that reads in all the feature classes of an Esri geodatabase and then writes them out in the format of a user’s choice.

2) Examine the Writer Parameters

Output format user parameter in the Navigator

Esri Shapefile default value

3) Create a User Parameter to Limit Options

To restrict the writer format options, we'll create a user parameter. User parameters give users control over how a workspace runs. You can use user parameters when running workspaces locally, but it is critical to use them when creating workspaces for FME Flow, which are likely to be run by other people.

Manage User Parameters

Click on Choice

Parameter Identifier OutputFormat
Label Enter an output format
Required Enabled
Show Label Enabled
Choice Configuration Dropdown

The dialog now looks like this:

Filling out the choice parameter

Importing writer formats to fill in the Choices table

Selecting writer formats

Populated Choices table

Selecting default and clicking OK to create the user parameter

4) Apply the User Parameter to the Generic Writer Format Parameter

The new User Parameter is not yet connected to anything.

Link the new parameter

Link to a Parameter

5) Run the Workspace to Confirm the Updated User Parameter Works

Selecting an output format

Right click Training Generic and select Open Containing Folder

New output file

6) Add a User Parameter to Select Feature Types to Read

Now, we'd like to give the user the option to choose which layers they receive when the workspace runs. The most efficient way to do that is to actually restrict the reader to only read certain layers. There is a parameter for that called Feature Types to Read.

Create User Parameter

Layers to Read

Select Layers to Read

Features Written Summary

Tips & Tricks

Leave Us Feedback on This Lesson